extends Card
class_name UserCard

var card_name: String = 'default_name' setget set_card_name, get_card_name
var card_desc: String = 'super_interestring' setget set_card_desc, get_card_desc

func _ready() -> void:
    pass

func set_card_name(name: String) -> void:
    card_name = name
    $CardName / NameLabel.set_text(name)
    pass


func get_card_name() -> String:
    return card_name


func set_card_desc(desc: String) -> void:
    card_desc = desc
    $CardDesc / DescLabel.set_text(card_desc)
    pass


func get_card_desc() -> String:
    return card_desc
